package interfaces;

import java.sql.SQLException;
import java.util.Vector;

import basicas.PessoaJuridica;

public interface InterfacePessoaJuridica {
	
	public abstract void cadastrarPessoaJuridica(PessoaJuridica J) 
	throws ClassNotFoundException, SQLException;
	
	public abstract PessoaJuridica consultaPessoaJuridica(int codigo) 
	throws ClassNotFoundException, SQLException;
	
	public abstract Vector listarPessoaJuridica() 
	throws ClassNotFoundException, SQLException;
	
	public abstract void removerPessoaJuridica(int codigo) 
	throws ClassNotFoundException, SQLException;
	
	public abstract void editarPessoaJuridica(int codigo, String email, String telefone, String telefone2, String razaoSocial, String nomeFantasia, String CNPJ, String nomeContrato, String login, String Senha) 
	throws ClassNotFoundException, SQLException;
	
	public abstract void verificaCnpjExiste(String CNPJ) 
	throws ClassNotFoundException, SQLException;
	
	public abstract PessoaJuridica consultaJuridicaNome(String nome) 
	throws ClassNotFoundException, SQLException;
	
	public abstract Vector consultaJuridicaFiltrada(String nome) 
	throws ClassNotFoundException, SQLException;

}
